package com.lzj.server.constant.enums;

/**
 * @author Lzj
 * @date 2025/5/22
 * @description 视频状态枚举类
 * 审核状态：0-待审核，1-通过，2-未通过，3- 作废，4-审核中
 */
public enum VideoStatusEnum {

    WAIT_CHECK(0, "待审核"),
    PASS(1, "通过"),
    NOT_PASS(2, "未通过"),
    INVALID(3, "作废"),
    CHECKING(4, "审核中");
    private final int code;
    private final String desc;

    VideoStatusEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int code() {
        return code;
    }
    public String desc() {
        return desc;
    }

}
